package cool.qingqing.streamapi;

/**
 * @author 高山青
 * @Date 2022/1/3  -   18:22
 */
public class Person {
	private String name;
	private int age;
	private int heicht;

	public Person(String name, int age, int heicht) {
		this.name = name;
		this.age = age;
		this.heicht = heicht;
	}

	public Person(String name, int age) {
		this.name = name;
		this.age = age;
	}

	@Override
	public String toString() {
		return "Person{" +
				"name='" + name + '\'' +
				", age=" + age +
				", heicht=" + heicht +
				'}';
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getHeicht() {
		return heicht;
	}

	public void setHeicht(int heicht) {
		this.heicht = heicht;
	}
}
